import axios from './axios'

export const getTopics=params=>axios.get('/topics',{params})
export const postTopic=(data)=>axios.post('/topics',data)